autoconf: use python-config when present, if not switch to distuti
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 24 Apr 2012 17:42:24 +0000 (18:42 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Tue, 24 Apr 2012 17:42:24 +0000 (18:42 +0100)
commitb67510ccbc96ee8977fc5e3255ba8183b6914fc9
tree97c0a68b2f20defc28c0db2312504708df9bcae5
parent2403a1d7076f4a465f31651038b854c5abc2ac67
autoconf: use python-config when present, if not switch to distuti

Use python-config utility when possible, and if it is not present switch to
distutils.

Should fix the bug reported by Olaf Hering on SuSE.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/m4/python_devel.m4